package com.dbb.trade.dao.company;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.dbb.trade.entity.Tag;
import com.dbb.trade.entity.product.Product;

public interface ProductDao extends PagingAndSortingRepository<Product, String> {

	Product findByRef(String ref);
	List<Product> findByTagsIn(List<Tag> tags);

}
